package cn.zhku.edu.productservice.mapper;

import cn.zhku.edu.feign.pojo.entry.Category;
import cn.zhku.edu.feign.pojo.entry.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

@Repository
public interface CategoryMapper extends BaseMapper<Category> {
    int deleteByPrimaryKey(Integer tid);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(Integer tid);

    Category selectLikeConcatByTypeName(String typeName);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);
}